
import { createRouter, createWebHashHistory } from 'vue-router'


const router = createRouter({
  history:createWebHashHistory(),
  routes: [
    {
      path: "/",
      redirect: '/Home'
    },
    {
      path: "/Home",
      component: () => import("../views/Home.vue")
    },
    {
      path: "/Classify",
      component: () => import("../views/Classify.vue")
    },
    {
      path: "/ShoppingCart",
      component: () => import("../views/ShoppingCart.vue")
    },
    {
      path: "/My",
      component: () => import("../views/My.vue")
    },
  ]
})

export default router
